﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Model;
using BLL;

namespace Financial.Controllers
{
    public class loginController : Controller
    {
        //
        // GET: /login/
        
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult UserInfo_Show ()
        {
            UserInfoBLL bll = new UserInfoBLL();
            return Json(bll.UserInfo_Show(), JsonRequestBehavior.AllowGet);
        }

#region 登录
        
        public ActionResult logins(string Name,string Pwd)
        {
            LoginsBLL bll = new LoginsBLL();
            return Json(bll.login(Name,Pwd),JsonRequestBehavior.AllowGet);
        }
#endregion

    }
}
